package org.ruoyi.aibox.domain.bo;

import org.ruoyi.common.core.validate.AddGroup;
import org.ruoyi.common.core.validate.EditGroup;
import org.ruoyi.aibox.domain.DocAuditItem;
import org.ruoyi.core.domain.BaseEntity;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 文档审核项业务对象 doc_audit_item
 *
 * @author xpeter
 * @date 2025-04-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = DocAuditItem.class, reverseConvertGenerate = false)
public class DocAuditItemBo extends BaseEntity {

    /**
     * 审核项ID
     */
    @NotNull(message = "审核项ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 审核项名称
     */
    @NotBlank(message = "审核项名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String audititemName;

    /**
     * 审核对象
     */
    @NotBlank(message = "审核对象不能为空", groups = { AddGroup.class, EditGroup.class })
    private String auditObject;

    /**
     * 审核章节
     */
    @NotBlank(message = "审核章节不能为空", groups = { AddGroup.class, EditGroup.class })
    private String auditChapter;

    /**
     * 审核项内容
     */
    @NotBlank(message = "审核项内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String audititemContent;

    /**
     * 审核项提示词
     */
    @NotBlank(message = "审核项提示词不能为空", groups = { AddGroup.class, EditGroup.class })
    private String audititemPrompt;

    /**
     * 审核类别
     */
    @NotBlank(message = "审核类别不能为空", groups = { AddGroup.class, EditGroup.class })
    private String auditType;

    /**
     * 状态（0正常 1停用）
     */
    @NotBlank(message = "状态（0正常 1停用）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;


}
